<?php
namespace App\Http\Controllers;
use App\Model\Banner;
class IndexController extends Controller
{
    /**
     * web 首页
     *
     * @return void
     * @Description
     * @example
     * @author AF
     * @since
     */
    public function viewHome()
    {
        //banner图片
        $banner =  Banner::getHomeBanner(2);
        return view('index',[
            'banner'=>$banner,
        ]);
    }
}
